﻿<uc:BaseKioskControl x:Class="Kiosk.UserControls.RssScreen"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:library="clr-namespace:Kiosk.Library;assembly=Kiosk.Library"    
    xmlns:uc="clr-namespace:Kiosk.UserControls" Height="400" Width="600" Loaded="BaseKioskControl_Loaded">
    <Grid Margin="50">
        <Grid.Background>
            <ImageBrush ImageSource="images/presentationBG.png"></ImageBrush>
            
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="35*"></RowDefinition>
            <RowDefinition Height="80.761*" />
            <RowDefinition Height="193*"/>
            <RowDefinition Height="36*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="35*" />
            <ColumnDefinition Width="450*" />
            <ColumnDefinition Width="25.016*" />
        </Grid.ColumnDefinitions>
        <StackPanel Name="pnlTitle" Grid.Column="1" Grid.Row="1"  VerticalAlignment="Top">
            <TextBlock Text="{Binding Headline}" FontFamily="Calibri" FontSize="35" TextTrimming="CharacterEllipsis" TextWrapping="NoWrap" >
                
            </TextBlock>
            <TextBlock Text="{Binding FeedTitle}" FontSize="18" />
        </StackPanel>
        <ScrollViewer Grid.Row="2" Grid.Column="1">
            <TextBlock Text="{Binding Description}" FontFamily="Times New Roman" FontSize="15" TextWrapping="Wrap" />
        </ScrollViewer>            
    </Grid>
</uc:BaseKioskControl>
